<?php
/**
 * The template for displaying Tag pages
 *
 * Used to display archive-type pages for posts in a tag.
 *
 * @link http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 * @since Twenty Fourteen 1.0
 */

?>

<div class="tabs-cotnent row-fluid">
	<div class="tabinfo">
		<ul class="nav nav-tabs" id="myTab">
			<li class="active"><a href="#detail">CHI TIẾT SẢN PHẨM</a></li>
			<li><a href="#brand">THÔNG TIN NHÃN HIỆU</a></li>
			<?php if(comments_open()){ ?>
			<li><a href="#review">NHẬN XÉT SẢN PHẨM</a></li>
			<?php } ?>
		</ul>


			 
		<div class="tab-content active">
			<div class="tab-pane active" id="detail">
				<?php  
					// $brand = get_post($post->ID);
					// $content_p=get_post($brand->post_parent);
					// echo $content_p->post_content;
					echo "detail";
				 ?>          
			</div>
			<div class="tab-pane" id="brand">
				<?php
					// $id_brand=get_post_meta($content_p->ID,"nhan-hieu",true);
					// $get_term=get_term_by("id",$id_brand,"nhan-hieu");
					// echo $get_term->description;
					echo "brand";
				?>
			</div>		
			<div class="tab-pane " id="review">
				<?php 
					// if ( comments_open() || get_comments_number() ) {
						// comments_template();
					// }
					
					// ori: ???, comments_template( '', false );
					echo "review";

					?>
			</div>
		</div>
	</div>
</div>
				
				

		
		